//
//  CycleModel.swift
//  DouYuZB
//
//  Created by DSDL on 2016/11/1.
//  Copyright © 2016年 鼎商动力. All rights reserved.
//

import UIKit
class CycleModel: NSObject{
    ///标题
    var title:String = ""
    
    ///展示的图片地址
    var pic_url:String = ""
    
    ///主播
    var room:[String:AnyObject]?{
        didSet{
            guard let room = room else{return}
            anchor = AnchorModel(dict: room)
        }
    }
    // 主播的对应的模型
    var anchor:AnchorModel?
    
    
    init(dict:[String:AnyObject]) {
        super.init()
        setValuesForKeys(dict)
    }
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
}
